#ifndef CUSTOMERCONTROLLER_H
#define CUSTOMERCONTROLLER_H

#include "basecontroller.h"
#include "basemodel.h"

#include "customermodel.h"

class CustomerController : public BaseController
{
    Q_OBJECT
public:
    explicit CustomerController(QObject *parent = 0);
    virtual QList<BaseModel *> getAll();
    CustomerModel *getCustomerByName(QString name);
    void addCustomer(CustomerModel *customer);
    void updateCustomer(CustomerModel *customer);

signals:

public slots:

};

#endif // CUSTOMERCONTROLLER_H
